Emberveil sourcegame/2006Scape Server/src/main/java/org/apollo/net/NetworkConstants.java
package org.apollo.net;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigInteger;
import com.google.common.base.Preconditions;
import org.apollo.util.xml.XmlNode;
import org.apollo.util.xml.XmlParser;
/**
* Holds various network-related constants such as port numbers.
*
* @author Graham
* @author Major
*/
public final class NetworkConstants {
/**
* The number of seconds before a connection becomes idle.
*/
public static final int IDLE_TIME = 15;
/**
* The exponent used when decrypting the RSA block.
*/
public static BigInteger RSA_EXPONENT = com.rs2.util.rsa.SourceRsaKeys.privateExponent();;
/**
* The modulus used when decrypting the RSA block.
*/
public static BigInteger RSA_MODULUS = com.rs2.util.rsa.SourceRsaKeys.modulus();;
}